/**
 * @Title: SysParamsServiceImpl
 * @Package cn.com.yiqi.wsc.service.sysparams.impl
 * @Description: TODO
 * Copyright: Copyright (c) 2016
 * Company: 成都壹柒互动科技有限公司
 * @author 会员系统组-胥钰淋
 * @date 2017/3/6 11:27
 * @version V1.0
 */
package cn.com.yiqi.wsc.service.sysparams.impl;

import cn.com.yiqi.wsc.dao.customer.CustomerSignMapper;
import cn.com.yiqi.wsc.service.sysparams.SysParamsService;
import cn.com.yiqi.wsc.Ro.BalanceParaDO;
import cn.com.yiqi.wsc.Ro.PointParaDO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *
 *@ClassName: SysParamsServiceImpl
 * @Description: TODO
 * @author 会员系统组-胥钰淋
 * @date 2017/3/6 11:27
 *
 */
@Service
public class SysParamsServiceImpl implements SysParamsService {

    @Autowired
    CustomerSignMapper signDao;

    @Override
    public PointParaDO getPointPara() {
        PointParaDO pdo = signDao.findPointDO();
        return pdo;
    }

    @Override
    public BalanceParaDO getBalancePara() {
       return signDao.findBalanceDO();

    }

    @Override
    public String getSysQQ() {
        return signDao.findSignRule("SYS_QQ");
    }
}
